package com.design.structure.facade.atguigu;

/**
 * @ProjectName: design
 * @Package: com.design.structure.facade.atguigu
 * @ClassName: TheaterLight
 * @Author: shenaiguo
 * @Description: TheaterLight 灯光
 * @Date: 2020/9/8 0008 23:03
 */
// 步骤 6
public class TheaterLight {
    private static TheaterLight instance = new TheaterLight();


    public static TheaterLight getInstance() {
        return instance;
    }


    public void on() {
        System.out.println(" TheaterLight on ");
    }


    public void off() {
        System.out.println(" TheaterLight off ");
    }


    public void dim() {
        System.out.println(" TheaterLight dim.. ");
    }

    public void bright() {
        System.out.println(" TheaterLight bright.. ");
    }

}
